class Tag < ActiveRecord::Base
  has_many :tag_topic_ships
  has_many :topics, through: :tag_topic_ships
  acts_as_nested_set

  validates :name,  presence: true, uniqueness: true
  validates :intro,  presence: true


end

